//---------------------------------------------------------------------------------------------------
inline int Node::GetQuantity() const
{
	return m_kChild.size();
}
//---------------------------------------------------------------------------------------------------
inline SpatialPtr Node::GetChild(int i)
{
	if (0 <= i && i <= (int)m_kChild.size())
	{
		return m_kChild[i];
	}
	return 0; 
}
//---------------------------------------------------------------------------------------------------